export default {
  data() {
    return {
      sendMsg: {
        policyId: null,
        applyId: null,
        redemptionId: null,
        files: [],
        accountName: "",
        accountBank: "",
        accountNumber: "",
        redemptionAmount: 0,
        redemptionContent: "",
        description: "",
      },
      rules: {
        accountName: [
          { required: true, message: '兑现账户名称不能为空', trigger: 'blur' }
        ],
        accountBank: [
          { required: true, message: '兑现账户银行不能为空', trigger: 'blur' }
        ],
        accountNumber: [
          { required: true, message: '兑现账户银行账户不能为空', trigger: 'blur' }
        ],
        redemptionAmount: [
          { required: true, message: '兑现金额必须大于0', trigger: 'blur' }
        ],
        description: [
          { required: true, message: '兑现说明不能为空', trigger: 'blur' }
        ],
        redemptionContent: [
          { required: true, message: '兑现内容不能为空', trigger: 'blur' }
        ]
      }
    }
  }
}